//
//  TDDiscoverTableViewController.swift
//  微博
//
//  Created by tong dan on 16/2/29.
//  Copyright © 2016年 tong dan. All rights reserved.
//

import UIKit

class TDDiscoverTableViewController: TDVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        if visitorView != nil{
        
        visitorView?.setInfo("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
        
        return
            
        }
        
        
        setupUI()
        
    }
    //b.设置视图
    private func setupUI(){
    
    //初始化一个searchView
        let searchView = TDDiscoverSearchView.searchView()
        searchView.frame.size.width = UIScreen.mainScreen().bounds.width
        navigationItem.titleView = searchView
        
    }
    
    
   }
